﻿{% extends "gma/base.html" %}
{% load mytag %}


<!-- CONTENT
  =====================================================================-->

{% block content %}
<div class="page__bd">
    <div class="weui-panel weui-panel_access">
        <div class="weui-panel__bd">
            {% for moment in moments %}
            <a class="weui-media-box weui-media-box_appmsg weui-cell_access" href="{% url 'gma:auth_moment' moment.id %}">
                <div class="weui-media-box__hd">
                    <img class="weui-media-box__thumb avatar" src="{{ moment.avatar|cdn }}" alt="">
                </div>
                <div class="weui-media-box__bd">
                    <h4 class="weui-media-box__title">[{{ moment.uid }}]{{ moment.nickname }}</h4>
                    <p class="weui-media-box__desc">{{ moment.update_time|date:"Y-m-d H:i:s" }}</p>
                    <p class="weui-media-box__desc">{{ moment.title }}</p>
                </div>

                <div class="weui-cell__ft">
                    <span> #{{ moment.id }}</span>
                </div>
            </a>
            {% endfor %}
        </div>
    </div>
</div>

<div class="page__ft">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
{% endblock extra_js %}